<?php
return array(
    //模版调用
    'TMPL_PARSE_STRING' => array(
        '__THEME__'  => $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] .'/Public/' . MODULE_NAME,
        '__CSS__'    => $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] .'/Public/' . MODULE_NAME . '/Css',
        '__SCRIPT__' => $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] .'/Public/' . MODULE_NAME . '/Js',
        '__IMAGE__'  => $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] .'/Public/' . MODULE_NAME . '/Images',
    ),
    'ADMIN_USER'         => 'admin',
    'ADMIN_PASSWORD'     => '1qazxsw2',
    'DEFAULT_CONTROLLER' => 'Admin',

    'LIST_PAGE_SIZE'  => 20,

    //文件上传参数
    'UPLOAD_CONFIG' =>array(
        'maxSize'   => 3145728,
        'rootPath'  => './Uploads/',
        'savePath'  => '',
        'saveName'  => array('uniqid', ''),
        'exts'      => array('jpg', 'gif', 'png', 'jpeg'),
        'autoSub'   => true,
        'subName'   => array('date', 'Ymd'),
    ),
	//平台ID
	'PLATFORM_ID' => '8',
);